import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'
// css
import '@/assets/index.css'
// mock
// import './mock/index'
//swiper
import 'swiper/css/swiper.css'
//加载组件
import jiaZai from './components/jiaZai.vue'
Vue.component('jiaZai', jiaZai)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
  //bus
  beforeCreate() {
    Vue.prototype.$bus = this
  }
}).$mount('#app')
